package com.atguigu.gulimall.member.feign;

import com.atguigu.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @version : 1.0
 * @Author: yangmingsong
 * @Date: 2021/4/2-04-02-22:02
 * @Description: guli-mail
 */
@FeignClient("gulimall-coupon")
public interface GulimallFeignService {
    //模拟调用远程方法的一个接口
    @RequestMapping("/coupon/coupon/getCoupon")
    public R getCoupon();
}
